home *** CD-ROM | disk | FTP | other *** search
/ MacHack 1997 / MacHack 1997.toast / Hacks / Hacks ’96 / Better AD security / Source / bADs Constants.h < prev    next >
Text File  |  1996-06-21  |  830b  |  28 lines

  1. /*    NAME:
  2.         bADs Constants.h
  3.  
  4.     WRITTEN BY:
  5.         Dair Grant,
  6.         Avi Drissman
  7.                 
  8.     DESCRIPTION:
  9.         Header file for shared constants.
  10.  
  11.     ___________________________________________________________________________
  12. */
  13. #ifndef __IS_CONSTANTS__
  14. #define __IS_CONSTANTS__
  15. //=============================================================================
  16. //        Defines                                                                 
  17. //-----------------------------------------------------------------------------
  18. #define kNewSysError                1                            // Index into theCodeResources
  19.  
  20. #define kbADsAddressTable            'bADs'                        // Address table selector
  21. #define kSysErrorResType            'Code'                        // Resource type of patch
  22. #define kSysErrorResID                128                            // Resource id of patch
  23.  
  24. #define kSysErrorTrap                0xA9C9                        // Trap number of SysError
  25. #define kForceQuit                    0x4E22                        // Force quit option
  26.  
  27. #endif
  28.